package com.software.content_client;

import android.database.ContentObserver;
import android.os.Handler;
import android.util.Log;

public class UserInfoObserver extends ContentObserver {
    /**
     * Creates a content observer.
     *
     * @param handler The handler to run {@link #onChange} on, or null if none.
     */
    public UserInfoObserver(Handler handler) {
        super(handler);
    }

    @Override
    public void onChange(boolean selfChange) {
        super.onChange(selfChange);
        // 处理同步的逻辑
        Log.i("user-info", "数据已改变");
    }
}
